3.1.1 Triangulating a Monotone Polygon 3.2 Range Minima 2.3.2 Query Retrieval 3.1 All Nearest Smaller Values 2.2 Preex Minima and All Nearest Smaller Values

نویسندگان

  • P. L. Ragde
  • W. L. Steiger
  • A. Wigderson
چکیده

Parallel algorithms for shared-memory machines. In J. 27] Y. Matias and U. Vishkin. Converting high probability into nearly-constant time|with applications to parallel hashing. 6] O. Berkman and Y. Matias. Fast parallel algorithms for minimum and related problems with small integer inputs. 11] J. Edmonds. Lower bounds with smaller domain size on concurrent write parallel machines. Lower bounds for parallel random-access machines with unbounded shared memory. 15 Proof. The previous theorem showed a lower bound of T 1 3 log log n for s = 2 n 4log logn. A simple calculation shows that T 1 3 log log log s for n suuciently large. 5 Conclusions We have shown that the minima, preex-minima, range-minima, and ansv problems, with input elements taken from the integer domain 1::s], s n, can all be solved in O(log log log s) time using n= log log log s processors (optimal speedup) on the common crcw pram. As an application, we obtain an algorithm with the same bounds for the problem of triangulating a monotone polygon whose coordinates are taken from the integer domain 1::s]. Our results were recently used by 6] to obtain O(log log log s) time algorithms for values of s smaller than n. We also gave a matching lower bound of (log log log s) for 2 2 c 1 logn loglogn s 2 2 log c 2 n , where c 1 is a speciic constant and c 2 an arbitrary constant. Thus, our algorithms cannot be improved when expressed solely in terms of the domain size. This result is somewhat unsatisfying, however, since for the given range of s, log log log s = (log log n). The lower bound is an advance over the previously known bounds 28], which required larger domain sizes, but it would be preferable to show our algorithms are tight for all values of s, particularly those below n. There is evidence, however, that this is not the case. 15] gave a technique which could be applied to nd the minimum of n integers from the range 1::n k ] in O(k) time on a common crcw pram; 5] gave an O(log n) time algorithm on priority for computing the preex-minima when s = O(n). This shows that t = (log log log s) does not give the correct tradeoo between domain size and computation time for all values of s. More work is …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Optimal Doubly Logarithmic Parallel Algorithms Based on Finding All Nearest Smaller Values

The all nearest smaller values problem is deened as follows. Let A = (a 1 ; a 2 ; : : :; a n) be n elements drawn from a totally ordered domain. For each a i , 1 i n, nd the two nearest elements in A that are smaller than a i (if such exist): the left nearest smaller element a j (with j < i) and the right nearest smaller element a k (with k > i). We give an O(loglog n) time optimal parallel alg...

متن کامل

All Nearest Smaller Values on the Hypercube

Given a sequence of n elements, the All Nearest Smaller Values (ANSV) problem is to nd, for each element in the sequence, the nearest element to the left (right) that is smaller, or to report that no such element exists. Time and work optimal algorithms for this problem are known on all the PRAM models 3], 5], but the running time of the best previous hypercube algorithm 6] is optimal only when...

متن کامل

An optimal hypercube algorithm for the all nearest smaller values problem

Given a sequence of n elements, the All Nearest Smaller Values (ANSV) problem is to nd, for each element in the sequence, the nearest element to the left (right) that is smaller, or to report that no such element exists. Time and work optimal algorithms for this problem are known on all the PRAM models 4, 6], but the running time of the best previous hypercube algorithm 9] is optimal only when ...

متن کامل

Triply-Logarithmic Parallel Upper and Lower Bounds for Minimum and Range Minima over Small Domains

We consider the problem of computing the minimumof n values and several well known generalizations pre x minima range minima and all nearest smaller values or ansv for input elements drawn from the integer domain s where s n In this paper we give simple and e cient algorithms for all of the above problems These algorithms all take O log log log s time using an optimal number of processors and O...

متن کامل

Lower Bounds for Constant Depth Circuits for Preex Problems, in Proc. of 10th International 5. Conclusion and Open Problems

Some doubly logarithmic parallel algorithms based on nding all nearest smaller values, Tech. Optimal doubly logarithmic parallel algorithms based on nding all nearest smaller values. Randomized range-maxima 21 Complexity of the preprocessing algorithm: O(I m (n)) time using n=I m (n) processors and O(n) space. Retrieval of a range-maximum query takes O(m) time using one processor. Theorem 4.1 a...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998